<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.4.0">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">



<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css">

<script class="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"three-pages.gitee.io","root":"/","images":"/images","scheme":"Pisces","version":"8.2.2","exturl":false,"sidebar":{"dimmer":false,"position":"left","display":"always","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":true,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":"changyan","storage":true,"lazyload":false,"nav":null,"activeClass":"changyan"},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果：${query}","hits_time":"找到 ${hits} 个搜索结果（用时 ${time} 毫秒）","hits":"找到 ${hits} 个搜索结果"}};
  </script>
<meta name="description" content="安装 Hexo参考 Hexo 官方文档 使用 NexT 主题目前 github 上有多个 NexT 仓库，分别是：  NexT 最新项目地址(next-theme) 官方网站 NexT 旧项目地址(theme-next) NexT 原始项目地址(iissnan)  项目之间的关系 建议使用 NexT 最新项目，本教程使用的也是该项目。 安装 NexT安装 NexT 可以参考项目的 中文文档 配置">
<meta property="og:type" content="article">
<meta property="og:title" content="Hexo + NexT + search + 畅言 + gitee">
<meta property="og:url" content="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/index.html">
<meta property="og:site_name" content="三页">
<meta property="og:description" content="安装 Hexo参考 Hexo 官方文档 使用 NexT 主题目前 github 上有多个 NexT 仓库，分别是：  NexT 最新项目地址(next-theme) 官方网站 NexT 旧项目地址(theme-next) NexT 原始项目地址(iissnan)  项目之间的关系 建议使用 NexT 最新项目，本教程使用的也是该项目。 安装 NexT安装 NexT 可以参考项目的 中文文档 配置">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/img-005.png">
<meta property="og:image" content="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/img-006.jpg">
<meta property="og:image" content="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/img-007.png">
<meta property="og:image" content="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/img-008.png">
<meta property="og:image" content="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/img-001.jpg">
<meta property="og:image" content="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/img-002.png">
<meta property="og:image" content="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/img-009.png">
<meta property="article:published_time" content="2021-02-21T02:08:29.000Z">
<meta property="article:modified_time" content="2021-02-28T02:09:55.044Z">
<meta property="article:author" content="顾喜顺">
<meta property="article:tag" content="Hexo">
<meta property="article:tag" content="nexT">
<meta property="article:tag" content="畅言">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/img-005.png">


<link rel="canonical" href="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/">


<script data-pjax class="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script><script src="/lib/fireworks.js"></script>
<title>Hexo + NexT + search + 畅言 + gitee | 三页</title>
  




  <noscript>
  <style>
  body { margin-top: 2rem; }

  .use-motion .menu-item,
  .use-motion .sidebar,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header {
    visibility: visible;
  }

  .use-motion .header,
  .use-motion .site-brand-container .toggle,
  .use-motion .footer { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle,
  .use-motion .custom-logo-image {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line {
    transform: scaleX(1);
  }

  .search-pop-overlay, .sidebar-nav { display: none; }
  .sidebar-panel { display: block; }
  </style>
</noscript>

</head>

<script src="/live2d-widget/autoload.js"></script>

<link rel="stylesheet" href="/music/APlayer.css">
<script src="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/meting@1.2.0/dist/Meting.min.js"></script>

<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
  <div class="headband"></div>

  <main class="main">
    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏" role="button">
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <i class="logo-line"></i>
      <h1 class="site-title">三页</h1>
      <i class="logo-line"></i>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul class="main-menu menu">
        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
  </ul>
</nav>




</div>
        
  
  <div class="toggle sidebar-toggle" role="button">
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
  </div>

  <aside class="sidebar">

    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
      <ul class="sidebar-nav">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <div class="sidebar-panel-container">
        <!--noindex-->
        <div class="post-toc-wrap sidebar-panel">
            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%AE%89%E8%A3%85-Hexo"><span class="nav-number">1.</span> <span class="nav-text">安装 Hexo</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E4%BD%BF%E7%94%A8-NexT-%E4%B8%BB%E9%A2%98"><span class="nav-number">2.</span> <span class="nav-text">使用 NexT 主题</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%AE%89%E8%A3%85-NexT"><span class="nav-number">2.1.</span> <span class="nav-text">安装 NexT</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E9%85%8D%E7%BD%AE-NexT"><span class="nav-number">2.2.</span> <span class="nav-text">配置 NexT</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#NexT-%E4%B8%AD%E6%96%87%E9%85%8D%E7%BD%AE"><span class="nav-number">2.2.1.</span> <span class="nav-text">NexT 中文配置</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%90%AF%E7%94%A8%E6%90%9C%E7%B4%A2"><span class="nav-number">2.2.2.</span> <span class="nav-text">启用搜索</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E4%BD%BF%E7%94%A8%E7%95%85%E8%A8%80"><span class="nav-number">3.</span> <span class="nav-text">使用畅言</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E9%83%A8%E7%BD%B2%E8%87%B3-gitee"><span class="nav-number">4.</span> <span class="nav-text">部署至 gitee</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E6%B3%A8%E5%86%8C%E4%B8%80%E4%B8%AA%E8%B4%A6%E5%8F%B7-gitee-%E5%AE%98%E7%BD%91%E5%9C%B0%E5%9D%80"><span class="nav-number">4.1.</span> <span class="nav-text">注册一个账号 gitee 官网地址</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%88%9B%E5%BB%BA%E4%BB%93%E5%BA%93"><span class="nav-number">4.2.</span> <span class="nav-text">创建仓库</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E9%85%8D%E7%BD%AE-Hexo"><span class="nav-number">4.3.</span> <span class="nav-text">配置 Hexo</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%90%AF%E7%94%A8%E6%9C%8D%E5%8A%A1"><span class="nav-number">4.4.</span> <span class="nav-text">启用服务</span></a></li></ol></li></ol></div>
        </div>
        <!--/noindex-->

        <div class="site-overview-wrap sidebar-panel">
          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="顾喜顺"
      src="/images/avatar.jpg">
  <p class="site-author-name" itemprop="name">顾喜顺</p>
  <div class="site-description" itemprop="description">我于万物之中</div>
</div>
<div class="site-state-wrap site-overview-item animated">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">5</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
          
        <span class="site-state-item-count">1</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
          
        <span class="site-state-item-count">5</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author site-overview-item animated">
      <span class="links-of-author-item">
        <a href="https://github.com/kirrsgool" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;kirrsgool" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://weibo.com/u/5860424482" title="weibo → https:&#x2F;&#x2F;weibo.com&#x2F;u&#x2F;5860424482" rel="noopener" target="_blank"><i class="fab fa-weibo fa-fw"></i>weibo</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://twitter.com/kirrsgool" title="Twitter → https:&#x2F;&#x2F;twitter.com&#x2F;kirrsgool" rel="noopener" target="_blank"><i class="fab fa-twitter fa-fw"></i>Twitter</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://www.facebook.com/profile.php?id=100016912845145" title="FB Page → https:&#x2F;&#x2F;www.facebook.com&#x2F;profile.php?id&#x3D;100016912845145" rel="noopener" target="_blank"><i class="fab fa-facebook fa-fw"></i>FB Page</a>
      </span>
  </div>



        </div>
      </div>
    </div>
  </aside>
  <div class="sidebar-dimmer"></div>


    </header>

    
  <div class="back-to-top" role="button">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>

<noscript>
  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>


    <div class="main-inner post posts-expand">


  


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://three-pages.gitee.io/2021/02/21/2021/02/21/01/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.jpg">
      <meta itemprop="name" content="顾喜顺">
      <meta itemprop="description" content="我于万物之中">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="三页">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          Hexo + NexT + search + 畅言 + gitee
        </h1>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2021-02-21 10:08:29" itemprop="dateCreated datePublished" datetime="2021-02-21T10:08:29+08:00">2021-02-21</time>
    </span>
      <span class="post-meta-item">
        <span class="post-meta-item-icon">
          <i class="far fa-calendar-check"></i>
        </span>
        <span class="post-meta-item-text">更新于</span>
        <time title="修改时间：2021-02-28 10:09:55" itemprop="dateModified" datetime="2021-02-28T10:09:55+08:00">2021-02-28</time>
      </span>

  
  
  <span class="post-meta-item">
    
      <span class="post-meta-item-icon">
        <i class="far fa-comment"></i>
      </span>
      <span class="post-meta-item-text">Changyan：</span>
    
    
      <a title="changyan" href="/2021/02/21/2021/02/21/01/#SOHUCS" itemprop="discussionUrl">
        <span id="changyan_count_unit" class="post-comments-count hc-comment-count" data-xid="2021/02/21/2021/02/21/01/" itemprop="commentCount"></span>
      </a>
    
  </span>
  
  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
        <h2 id="安装-Hexo"><a href="#安装-Hexo" class="headerlink" title="安装 Hexo"></a>安装 Hexo</h2><p>参考 <a target="_blank" rel="noopener" href="https://hexo.io/zh-cn/docs/">Hexo 官方文档</a></p>
<h2 id="使用-NexT-主题"><a href="#使用-NexT-主题" class="headerlink" title="使用 NexT 主题"></a>使用 NexT 主题</h2><p>目前 github 上有多个 NexT 仓库，分别是：</p>
<ol>
<li><a target="_blank" rel="noopener" href="https://github.com/next-theme/hexo-theme-next">NexT 最新项目地址(next-theme)</a> <a target="_blank" rel="noopener" href="https://theme-next.js.org/">官方网站</a></li>
<li><a target="_blank" rel="noopener" href="https://github.com/theme-next/hexo-theme-next">NexT 旧项目地址(theme-next)</a></li>
<li><a target="_blank" rel="noopener" href="https://github.com/iissnan/hexo-theme-next">NexT 原始项目地址(iissnan)</a></li>
</ol>
<p><a target="_blank" rel="noopener" href="https://github.com/next-theme/hexo-theme-next/issues/4#issuecomment-626187669">项目之间的关系</a></p>
<p>建议使用 NexT 最新项目，本教程使用的也是该项目。</p>
<h3 id="安装-NexT"><a href="#安装-NexT" class="headerlink" title="安装 NexT"></a>安装 NexT</h3><p>安装 NexT 可以参考项目的 <a target="_blank" rel="noopener" href="https://github.com/next-theme/hexo-theme-next/blob/master/docs/zh-CN/README.md">中文文档</a></p>
<h3 id="配置-NexT"><a href="#配置-NexT" class="headerlink" title="配置 NexT"></a>配置 NexT</h3><p>在 Hexo 根目录下创建文件 <code>_config.next.yml</code><br>将 <a target="_blank" rel="noopener" href="https://github.com/next-theme/hexo-theme-next/blob/master/_config.yml">NexT 配置文件</a> 的内容复制到 <code>_config.next.yml</code></p>
<p>至此在 Hexo 根目录下会有两个配置文件<br><strong>_config.next.yml</strong> (NexT 配置文件)<br><strong>_config.yml</strong>  (Hexo 配置文件)</p>
<img src="/2021/02/21/2021/02/21/01/img-005.png" class="">

<h4 id="NexT-中文配置"><a href="#NexT-中文配置" class="headerlink" title="NexT 中文配置"></a>NexT 中文配置</h4><p>修改 _config.yml (没错，就是 Hexo 的配置文件)</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">language:</span> <span class="string">zh-CN</span></span><br></pre></td></tr></table></figure>

<h4 id="启用搜索"><a href="#启用搜索" class="headerlink" title="启用搜索"></a>启用搜索</h4><p>使用 hexo-generator-searchdb 插件，<a target="_blank" rel="noopener" href="https://github.com/next-theme/hexo-generator-searchdb">插件地址</a></p>
<figure class="highlight cmd"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npm install hexo-generator-searchdb</span><br></pre></td></tr></table></figure>

<p>在 _config.yml 任意位置添加如下代码</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">search:</span></span><br><span class="line">  <span class="attr">path:</span> <span class="string">search.xml</span></span><br><span class="line">  <span class="attr">field:</span> <span class="string">post</span></span><br><span class="line">  <span class="attr">content:</span> <span class="literal">true</span></span><br><span class="line">  <span class="attr">format:</span> <span class="string">html</span></span><br></pre></td></tr></table></figure>

<p>修改 _config.next.yml</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">local_search:</span></span><br><span class="line">  <span class="attr">enable:</span> <span class="literal">true</span></span><br></pre></td></tr></table></figure>

<p>遇到问题可以参考 <a href="#">Post not found: 2021022102 [Hexo 本地运行正常，远程不正常]</a></p>
<h2 id="使用畅言"><a href="#使用畅言" class="headerlink" title="使用畅言"></a>使用畅言</h2><p><a target="_blank" rel="noopener" href="https://changyan.kuaizhan.com/">畅言官网地址</a></p>
<ol>
<li><p>注册畅言账号</p>
</li>
<li><p>进入工作台 -&gt; 后台总览 获取 <code>畅言云评密钥</code></p>
<img src="/2021/02/21/2021/02/21/01/img-006.jpg" class="">
<img src="/2021/02/21/2021/02/21/01/img-007.png" class=""></li>
<li><p>修改 _config.next.yml</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">changyan:</span></span><br><span class="line">  <span class="attr">enable:</span> <span class="literal">true</span></span><br><span class="line">  <span class="attr">appid:</span> <span class="string">your</span> <span class="string">appid</span></span><br><span class="line">  <span class="attr">appkey:</span> <span class="string">your</span> <span class="string">appkey</span></span><br></pre></td></tr></table></figure>
</li>
<li><p>效果如下</p>
<img src="/2021/02/21/2021/02/21/01/img-008.png" class="">

</li>
</ol>
<h2 id="部署至-gitee"><a href="#部署至-gitee" class="headerlink" title="部署至 gitee"></a>部署至 gitee</h2><p>为什么要用 gitee 呢，因为快。</p>
<h3 id="注册一个账号-gitee-官网地址"><a href="#注册一个账号-gitee-官网地址" class="headerlink" title="注册一个账号 gitee 官网地址"></a>注册一个账号 <a target="_blank" rel="noopener" href="https://gitee.com/">gitee 官网地址</a></h3><p>注意这里的 <code>your-name</code>，后面会用到</p>
<img src="/2021/02/21/2021/02/21/01/img-001.jpg" class="" title="展开图">

<h3 id="创建仓库"><a href="#创建仓库" class="headerlink" title="创建仓库"></a>创建仓库</h3><p><code>仓库名称</code> 尽量使用你的 gitee 名称，即上一步的 <code>your-name</code><br><code>是否开源</code> 选择 <code>公开</code><br>最后点击 <code>创建</code></p>
<p>最终你将使用 <code>https://your-name.gitee.io</code> 作为博客的入口地址<br>若你的仓库名称不是你的 gitee 名称，例如仓库名称为 blog<br>那么最终你的博客入口地址将会变为 <code>https://your-name.gitee.io/blog</code></p>
<img src="/2021/02/21/2021/02/21/01/img-002.png" class="">

<h3 id="配置-Hexo"><a href="#配置-Hexo" class="headerlink" title="配置 Hexo"></a>配置 Hexo</h3><p>修改 _config.yml</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">url:</span> <span class="string">https://your-name.gitee.io</span></span><br><span class="line"><span class="attr">root:</span> <span class="string">/</span></span><br><span class="line"></span><br><span class="line"><span class="attr">deploy:</span></span><br><span class="line">  <span class="attr">type:</span> <span class="string">git</span></span><br><span class="line">  <span class="attr">repo:</span> <span class="string">git@gitee.com:your-name/your-name.git</span></span><br><span class="line">  <span class="attr">branch:</span> <span class="string">master</span></span><br></pre></td></tr></table></figure>

<h3 id="启用服务"><a href="#启用服务" class="headerlink" title="启用服务"></a>启用服务</h3><p>在 Hexo 中执行</p>
<figure class="highlight cmd"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">hexo d</span><br></pre></td></tr></table></figure>

<p>启用 Gitee Pages 服务</p>
<img src="/2021/02/21/2021/02/21/01/img-009.png" class="">

    </div>

    
    
    

    <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/Hexo/" rel="tag"># Hexo</a>
              <a href="/tags/nexT/" rel="tag"># nexT</a>
              <a href="/tags/%E7%95%85%E8%A8%80/" rel="tag"># 畅言</a>
          </div>

        

          <div class="post-nav">
            <div class="post-nav-item">
                <a href="/1986/12/24/%E7%9F%B3%E5%8E%9F%E9%87%8C%E7%BE%8E/" rel="prev" title="石原里美">
                  <i class="fa fa-chevron-left"></i> 石原里美
                </a>
            </div>
            <div class="post-nav-item">
                <a href="/2021/02/21/2021/02/21/02/" rel="next" title="Hexo 本地运行正常，远程不正常">
                  Hexo 本地运行正常，远程不正常 <i class="fa fa-chevron-right"></i>
                </a>
            </div>
          </div>
    </footer>
  </article>
</div>






    <div class="comments" id="SOHUCS"></div>

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      const commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>
</div>
  </main>

  <footer class="footer">
    <div class="footer-inner">


<div class="copyright">
  &copy; 
  <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">顾喜顺</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/pisces/" class="theme-link" rel="noopener" target="_blank">NexT.Pisces</a> 强力驱动
  </div>

    </div>
  </footer>

  
  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/@next-theme/pjax@0.4.0/pjax.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>
<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script><script>
var pjax = new Pjax({
  selectors: [
    'head title',
    '.page-configurations',
    '.main-inner',
    '.post-toc-wrap',
    '.languages',
    '.pjax'
  ],
  analytics: false,
  cacheBust: false,
  scrollRestoration: false,
  scrollTo: !CONFIG.bookmark.enable
});

document.addEventListener('pjax:success', () => {
  pjax.executeScripts(document.querySelectorAll('script[data-pjax], .pjax script'));
  NexT.boot.refresh();
  // Define Motion Sequence & Bootstrap Motion.
  if (CONFIG.motion.enable) {
    NexT.motion.integrator
      .init()
      .add(NexT.motion.middleWares.subMenu)
      .add(NexT.motion.middleWares.postList)
      .bootstrap();
  }
  const hasTOC = document.querySelector('.post-toc');
  document.querySelector('.sidebar-inner').classList.toggle('sidebar-nav-active', hasTOC);
  document.querySelector(hasTOC ? '.sidebar-nav-toc' : '.sidebar-nav-overview').click();
  NexT.utils.updateSidebarPosition();
});
</script>


  






  



    <div class="pjax">


  <script>
  NexT.utils.loadComments('#SOHUCS', () => {
    NexT.utils.getScript('https://changyan.sohu.com/upload/changyan.js', () => {
      window.changyan.api.config({
        appid: 'cyvjEPuBU',
        conf : '3233f99187785562c780fdd5b59243b2'
      });
    });
  });
  </script>
  <script src="https://assets.changyan.sohu.com/upload/plugins/plugins.count.js"></script>

    </div>

</body>

<div class="aplayer"
  data-id="523563803"
  data-server="netease"
  data-type="playlist"
  data-fixed="true"
  data-autoplay="false"
  data-order="random"
  data-volume="0.55"
  data-theme="#cc543a"
  data-preload="auto" >
</div>

</html>
